package com.designPattern.singleton;

/**
 * 急切实例化避免多线程问题
 */
public class Singleton3 {
	
	/**
	 * 急切实例化
	 */
	private static Singleton3 instance = new Singleton3();
	
	private Singleton3(){}

	public static Singleton3 getInstance() {
		return instance;
	}
}//class
